package top.eggcode.common.base;

import org.springframework.data.jpa.repository.support.SimpleJpaRepository;

import javax.persistence.EntityManager;

/**
 * Title: 基础持久类
 * Description: TODO
 * Date: 2021/5/8 13:23
 *
 * @author JiaQi Ding
 * @version 1.0
 */
public abstract class JpaSimpleStore<T, ID> extends SimpleJpaRepository<T, ID> {

    public final EntityManager manager;

    public JpaSimpleStore(Class<T> entityType, EntityManager manager) {
        super(entityType, manager);
        this.manager = manager;
    }
}
